package com.etc.dao;

import java.util.List;


import com.etc.entity.Registration;

public interface RegistrationMapper {
    int deleteByPrimaryKey(Integer patientTel);
    /**
     * 新增预约挂号
     * @param record
     * @return
     */
    int insert(Registration record);

    int insertSelective(Registration record);

    Registration selectByPrimaryKey(Integer registrationid);

    int updateByPrimaryKeySelective(Registration record);

    int updateByPrimaryKey(Registration record);
    /**
     * 查询所有挂号
     * @return
     */
    List<Registration> selectRegistration();
}